<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysOrgBean.id}"/>
		<f:event type="preRenderView" listener="#{sysOrgBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Org"/>

	<ui:define name="header">
		Sys Org
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Org
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysOrgBeanSysOrgOrgTypeNo" value="Org Type No:"/>
			<h:outputText id="sysOrgBeanSysOrgOrgTypeNo" value="#{sysOrgBean.sysOrg.orgTypeNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgOrgCode" value="Org Code:"/>
			<h:outputText id="sysOrgBeanSysOrgOrgCode" value="#{sysOrgBean.sysOrg.orgCode}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgOrgName" value="Org Name:"/>
			<h:outputText id="sysOrgBeanSysOrgOrgName" value="#{sysOrgBean.sysOrg.orgName}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgBaseOrgNo" value="Base Org No:"/>
			<h:outputText id="sysOrgBeanSysOrgBaseOrgNo" value="#{sysOrgBean.sysOrg.baseOrgNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgAddrNo" value="Addr No:"/>
			<h:outputText id="sysOrgBeanSysOrgAddrNo" value="#{sysOrgBean.sysOrg.addrNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgAddrMoo" value="Addr Moo:"/>
			<h:outputText id="sysOrgBeanSysOrgAddrMoo" value="#{sysOrgBean.sysOrg.addrMoo}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgAddrBuilding" value="Addr Building:"/>
			<h:outputText id="sysOrgBeanSysOrgAddrBuilding" value="#{sysOrgBean.sysOrg.addrBuilding}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgAddrSoi" value="Addr Soi:"/>
			<h:outputText id="sysOrgBeanSysOrgAddrSoi" value="#{sysOrgBean.sysOrg.addrSoi}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgAddrRoad" value="Addr Road:"/>
			<h:outputText id="sysOrgBeanSysOrgAddrRoad" value="#{sysOrgBean.sysOrg.addrRoad}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgAddr1" value="Addr 1:"/>
			<h:outputText id="sysOrgBeanSysOrgAddr1" value="#{sysOrgBean.sysOrg.addr1}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgAddr2No" value="Addr 2No:"/>
			<h:outputText id="sysOrgBeanSysOrgAddr2No" value="#{sysOrgBean.sysOrg.addr2No}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgAddr3No" value="Addr 3No:"/>
			<h:outputText id="sysOrgBeanSysOrgAddr3No" value="#{sysOrgBean.sysOrg.addr3No}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgAddr4No" value="Addr 4No:"/>
			<h:outputText id="sysOrgBeanSysOrgAddr4No" value="#{sysOrgBean.sysOrg.addr4No}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgAddr5" value="Addr 5:"/>
			<h:outputText id="sysOrgBeanSysOrgAddr5" value="#{sysOrgBean.sysOrg.addr5}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgPhoneNo" value="Phone No:"/>
			<h:outputText id="sysOrgBeanSysOrgPhoneNo" value="#{sysOrgBean.sysOrg.phoneNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgMobileNo" value="Mobile No:"/>
			<h:outputText id="sysOrgBeanSysOrgMobileNo" value="#{sysOrgBean.sysOrg.mobileNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgMgrNo" value="Mgr No:"/>
			<h:outputText id="sysOrgBeanSysOrgMgrNo" value="#{sysOrgBean.sysOrg.mgrNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgCerVatReg" value="Cer Vat Reg:"/>
			<h:outputText id="sysOrgBeanSysOrgCerVatReg" value="#{sysOrgBean.sysOrg.cerVatReg}"/>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgSysSeqAccJnSps" value="Sys Seq Acc Jn Sps:"/>
			<h:dataTable id="sysOrgBeanSysOrgSysSeqAccJnSps" styleClass="data-table" value="#{forgeview:asList(sysOrgBean.sysOrg.sysSeqAccJnSps)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Prefix 01"/>
					</f:facet>
					<h:link outcome="/form/sysSeqAccJnSp/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPrefix01" value="#{_item.prefix01}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Current Seq No"/>
					</f:facet>
					<h:link outcome="/form/sysSeqAccJnSp/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCurrentSeqNo" value="#{_item.currentSeqNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Current Date Prefix 01"/>
					</f:facet>
					<h:link outcome="/form/sysSeqAccJnSp/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCurrentDatePrefix01" value="#{_item.currentDatePrefix01}">
							<f:convertDateTime type="date"/>
						</h:outputText>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgSysSeqSaleLoanContracts" value="Sys Seq Sale Loan Contracts:"/>
			<h:dataTable id="sysOrgBeanSysOrgSysSeqSaleLoanContracts" styleClass="data-table" value="#{forgeview:asList(sysOrgBean.sysOrg.sysSeqSaleLoanContracts)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Current Seq No"/>
					</f:facet>
					<h:link outcome="/form/sysSeqSaleLoanContract/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCurrentSeqNo" value="#{_item.currentSeqNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgSysUserLogins" value="Sys User Logins:"/>
			<h:dataTable id="sysOrgBeanSysOrgSysUserLogins" styleClass="data-table" value="#{forgeview:asList(sysOrgBean.sysOrg.sysUserLogins)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Org"/>
					</f:facet>
					<h:link outcome="/form/sysUserLogin/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="forgeviewdisplayitemSysOrg" value="#{forgeview:display(_item.sysOrg)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Hr Emp"/>
					</f:facet>
					<h:link outcome="/form/sysUserLogin/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="forgeviewdisplayitemHrEmp" value="#{forgeview:display(_item.hrEmp)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys User Role"/>
					</f:facet>
					<h:link outcome="/form/sysUserLogin/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="forgeviewdisplayitemSysUserRole" value="#{forgeview:display(_item.sysUserRole)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="User Name"/>
					</f:facet>
					<h:link outcome="/form/sysUserLogin/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="itemUserName" value="#{_item.userName}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="User Password"/>
					</f:facet>
					<h:link outcome="/form/sysUserLogin/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="itemUserPassword" value="#{_item.userPassword}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgSaleLoanContracts" value="Sale Loan Contracts:"/>
			<h:dataTable id="sysOrgBeanSysOrgSaleLoanContracts" styleClass="data-table" value="#{forgeview:asList(sysOrgBean.sysOrg.saleLoanContracts)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Hr Emp"/>
					</f:facet>
					<h:link outcome="/form/saleLoanContract/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="forgeviewdisplayitemHrEmp" value="#{forgeview:display(_item.hrEmp)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Cust"/>
					</f:facet>
					<h:link outcome="/form/saleLoanContract/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="forgeviewdisplayitemSysCust" value="#{forgeview:display(_item.sysCust)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Vehicle Brand"/>
					</f:facet>
					<h:link outcome="/form/saleLoanContract/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="forgeviewdisplayitemSysVehicleBrand" value="#{forgeview:display(_item.sysVehicleBrand)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sale Loan Grade"/>
					</f:facet>
					<h:link outcome="/form/saleLoanContract/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="forgeviewdisplayitemSaleLoanGrade" value="#{forgeview:display(_item.saleLoanGrade)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Income Level"/>
					</f:facet>
					<h:link outcome="/form/saleLoanContract/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="forgeviewdisplayitemSysIncomeLevel" value="#{forgeview:display(_item.sysIncomeLevel)}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgSaleLoanOffers" value="Sale Loan Offers:"/>
			<h:dataTable id="sysOrgBeanSysOrgSaleLoanOffers" styleClass="data-table" value="#{forgeview:asList(sysOrgBean.sysOrg.saleLoanOffers)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rec No"/>
					</f:facet>
					<h:link outcome="/form/saleLoanOffer/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="itemRecNo" value="#{_item.recNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Loan Type No"/>
					</f:facet>
					<h:link outcome="/form/saleLoanOffer/view">
						<f:param name="id" value="#{_item.recNo}"/>
						<h:outputText id="itemLoanTypeNo" value="#{_item.loanTypeNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgSysUserLogins1" value="Sys User Logins_1:"/>
			<h:dataTable id="sysOrgBeanSysOrgSysUserLogins1" styleClass="data-table" value="#{forgeview:asList(sysOrgBean.sysOrg.sysUserLogins_1)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Hr Emp"/>
					</f:facet>
					<h:link outcome="/form/sysUserLogin/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="forgeviewdisplayitemHrEmp" value="#{forgeview:display(_item.hrEmp)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys User Role"/>
					</f:facet>
					<h:link outcome="/form/sysUserLogin/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="forgeviewdisplayitemSysUserRole" value="#{forgeview:display(_item.sysUserRole)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="User Name"/>
					</f:facet>
					<h:link outcome="/form/sysUserLogin/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="itemUserName" value="#{_item.userName}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="User Password"/>
					</f:facet>
					<h:link outcome="/form/sysUserLogin/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="itemUserPassword" value="#{_item.userPassword}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="User Descr"/>
					</f:facet>
					<h:link outcome="/form/sysUserLogin/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="itemUserDescr" value="#{_item.userDescr}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysOrgBeanSysOrgSysSeqFinTranses" value="Sys Seq Fin Transes:"/>
			<h:dataTable id="sysOrgBeanSysOrgSysSeqFinTranses" styleClass="data-table" value="#{forgeview:asList(sysOrgBean.sysOrg.sysSeqFinTranses)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Prefix 01"/>
					</f:facet>
					<h:link outcome="/form/sysSeqFinTrans/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPrefix01" value="#{_item.prefix01}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Current Seq No"/>
					</f:facet>
					<h:link outcome="/form/sysSeqFinTrans/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCurrentSeqNo" value="#{_item.currentSeqNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Current Date Prefix 01"/>
					</f:facet>
					<h:link outcome="/form/sysSeqFinTrans/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCurrentDatePrefix01" value="#{_item.currentDatePrefix01}">
							<f:convertDateTime type="date"/>
						</h:outputText>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>